home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!willen.demon.co.uk
- From: Adrian Parker <adrian@willen.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: finding a bug.. any suggestions ?
- Date: Thu, 01 Feb 96 09:24:02 GMT
- Organization: Quondam Ltd
- Message-ID: <823166642snz@willen.demon.co.uk>
- Reply-To: adrian@willen.demon.co.uk
- X-NNTP-Posting-Host: willen.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.30
- X-Mail2News-Path: willen.demon.co.uk
-
-
- Using Watcom 10.0a..
- Creating a win3x DLL incorporating Watcom ODBC (wsql40 patch to level C)
- Calling the DLL from PowerBuilder 4.0
-
- What happens is that in the first call to the DLL to perform an operation
- the whole thing works fine. But the second time, doing exactly the same
- operation it GPFs in an apparently innocuous place. Also, when I quit
- windows after the GPF, it hangs. So I'm assuming some part of windows
- is being corrupted too.
-
- I've checked everything I can think of..
- all the malloc/free statements balance.
- all the variables I assign data to with strcpy etc are large eough.
- all the pointers I use are correctly set up.
-
- The only thing I can think of that might catch this bug is some kind of
- memory leak detector.. anyone have any suggestions as to what I could use ?
-
- Hopefully,
- Adrian
- --
- :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
- :: Adrian Parker adrian@willen.demon.co.uk Quondam Ltd ::
- :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
-